package com.ruoyi.my.domain;

import java.util.Date;

public class Student extends User {
    private int id;
    private String username;
    private String password;
    private String gender;
    private String address;
    private String phone;
    private String age;
    private String class_;
    private String permission;
    private Date update_time;
    private Date create_time;
    private int is_deleted;

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", age='" + age + '\'' +
                ", class_='" + class_ + '\'' +
                ", permission='" + permission + '\'' +
                ", update_time=" + update_time +
                ", create_time=" + create_time +
                ", is_deleted=" + is_deleted +
                '}';
    }

    public Student() {
    }

    public Student(String username, String password, String gender, String address, String phone, String age, String class_) {
        this.username = username;
        this.password = password;
        this.gender = gender;
        this.address = address;
        this.phone = phone;
        this.age = age;
        this.class_ = class_;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getClass_() {
        return class_;
    }

    public void setClass_(String class_) {
        this.class_ = class_;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public int getIs_deleted() {
        return is_deleted;
    }

    public void setIs_deleted(int is_deleted) {
        this.is_deleted = is_deleted;
    }
}